namespace RIS.TMP.WEB.APP.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class AllContext2 : DbMigration
    {
        public override void Up()
        {
            AddForeignKey("dbo.UserLogin", "EmId", "dbo.CFEmployee", "EmId", cascadeDelete: true);
            CreateIndex("dbo.UserLogin", "EmId");
        }
        
        public override void Down()
        {
            DropIndex("dbo.UserLogin", new[] { "EmId" });
            DropForeignKey("dbo.UserLogin", "EmId", "dbo.CFEmployee");
        }
    }
}
